package com.sl.diary.db;

import java.util.Date;

import com.sl.diary.model.ImageModel;
import com.sl.diary.model.PointModel;
import com.sl.diary.model.TourModel;
import com.sl.diary.model.TravelModel;

public class AddFakeData {
	
	private static String TAG = "AddFakeData";
	
	public static void addTourFake(DBManager db){
		//add travel
		TravelModel travel1 = new TravelModel("1", "Da lat", "blah blah1", new Date(2014 - 1900, 1, 2), new Date(2014 - 1900, 1, 3), "");
		TravelModel travel2 = new TravelModel("2", "Hue", "blah blah2", new Date(2014 - 1900, 1, 8), new Date(2014 - 1900, 1, 9), "");
		TravelModel travel3 = new TravelModel("3", "Ha Noi", "blah blah3", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel4 = new TravelModel("4", "Sapa", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel5 = new TravelModel("5", "Da Nang", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel6 = new TravelModel("6", "Dac lac", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel7 = new TravelModel("7", "Kom tum", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel8 = new TravelModel("8", "Vung Tau", "blah blah4", new Date(2014 - 1900, 1, 20), new Date(2014 - 1900, 1, 21), "");
		TravelModel travel9 = new TravelModel("9", "Nha Trang", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel10 = new TravelModel("10", "Phan Thiet", "blah blah1", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel12 = new TravelModel("12", "Can Tho", "blah blah2", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel13 = new TravelModel("13", "Ca Mau", "blah blah3", new Date(2014 - 1900, 1, 20), new Date(2014 - 1900, 1, 21), "");
		TravelModel travel14 = new TravelModel("14", "Kien Giang", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel15 = new TravelModel("15", "Tien Giang", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel16 = new TravelModel("16", "Can Gio", "blah blah4", new Date(2014 - 1900, 1, 18), new Date(2014 - 1900, 1, 20), "");
		TravelModel travel17 = new TravelModel("17", "Tay Ninh", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		TravelModel travel18 = new TravelModel("18", "Soc Trang", "blah blah4", new Date(2014 - 1900, 1, 27), new Date(2014 - 1900, 1, 28), "");
		TravelModel travel19 = new TravelModel("19", "Hai Phong", "blah blah4", new Date(2013 - 1900, 11, 23), new Date(2013 - 1900, 10, 2), "");
		
		// add tour
		TourModel tour1 = new TourModel("1", "1", "Ly Chinh Thang1", "company1", 1, new Date(2013, 11, 23), new Date(2013, 11, 23), 1, true, 200, 0, 0);
		TourModel tour2 = new TourModel("2", "1", "Ly Chinh Thang2", "company2", 2, new Date(2013, 11, 23), new Date(2013, 11, 23), 2, true, 200, 0, 0);
		TourModel tour3 = new TourModel("3", "1", "Ly Chinh Thang3", "company3", 3, new Date(2013, 11, 23), new Date(2013, 11, 23), 3, true, 200, 0, 0);
		TourModel tour4 = new TourModel("4", "2", "Ly Chinh Thang4", "company4", 1, new Date(2013, 11, 23), new Date(2013, 11, 23), 1, true, 200, 0, 0);
		TourModel tour5 = new TourModel("5", "2", "Ly Chinh Thang5", "company5", 2, new Date(2013, 11, 23), new Date(2013, 11, 23), 2, true, 200, 0, 0);
		TourModel tour6 = new TourModel("6", "3", "Ly Chinh Thang6", "company6", 1, new Date(2013, 11, 23), new Date(2013, 11, 23), 1, true, 200, 0, 0);
		TourModel tour7 = new TourModel("7", "3", "Ly Chinh Thang7", "company7", 2, new Date(2013, 11, 23), new Date(2013, 11, 23), 2, true, 200, 0, 0);
		TourModel tour8 = new TourModel("8", "4", "Ly Chinh Thang8", "company8", 1, new Date(2013, 11, 23), new Date(2013, 11, 23), 1, true, 200, 0, 0);
		
		// add point
		PointModel point1 = new PointModel("1", 10.788253578808298, 106.68542180210352, "1");
		PointModel point2 = new PointModel("2", 10.784935685201527, 106.68782338500023, "2");
		PointModel point3 = new PointModel("3", 10.77971274458365, 106.69480886310339, "2");
		PointModel point4 = new PointModel("4", 10.78650604083783, 106.69384829699993, "2");
		PointModel point5 = new PointModel("5", 10.79045165492844, 106.69767010957003, "3");
		PointModel point6 = new PointModel("6", 10.78616944264812, 106.68530814349651, "3");
		PointModel point7 = new PointModel("7", 10.787521432115932, 106.68626870959997, "3");
		PointModel point8 = new PointModel("8", 10.786887, 106.660037, "4");
		PointModel point9 = new PointModel("9", 10.783388, 106.659436, "5");
		PointModel point10 = new PointModel("10", 10.783262, 106.657376, "5");
		PointModel point11 = new PointModel("11", 10.788026, 106.658320, "6");
		PointModel point12 = new PointModel("23", 10.788353578808298, 106.68552180210352, "7");
		PointModel point13 = new PointModel("12", 10.800853599931024, 106.70844253152609, "7");
		PointModel point14 = new PointModel("13", 10.800418875398277, 106.71458814293146, "7");
		PointModel point15 = new PointModel("14", 10.800418875398277, 106.71458814293146, "7");
		PointModel point16 = new PointModel("15", 10.79673917049629, 106.72985661774874, "2");
		PointModel point17 = new PointModel("16", 10.80094680215424, 106.73139352351427, "2");
		PointModel point18 = new PointModel("17", 10.799498377057114, 106.73582687973976, "3");
		PointModel point19 = new PointModel("18", 10.80190154693756, 106.74251362681389, "3");
		PointModel point20 = new PointModel("19", 10.802206511344288, 106.74949005246162, "3");
		PointModel point21 = new PointModel("20", 10.81266601016033, 106.75855960696936, "5");
		PointModel point22 = new PointModel("21", 10.82810496022906, 106.76208067685366, "5");
		PointModel point23 = new PointModel("22", 10.838041292981147, 106.76948022097349, "7");
		PointModel point24 = new PointModel("1", 10.838181, 106.649780, "2");
		PointModel point25 = new PointModel("2", 10.765337, 106.700764, "2");
		PointModel point26 = new PointModel("3", 10.796956, 106.690550, "2");
		PointModel point27 = new PointModel("4", 10.784730, 106.667976, "2");
		PointModel point28 = new PointModel("5", 10.779931, 106.668491, "3");
		PointModel point29 = new PointModel("6", 10.782461, 106.660810, "3");
		PointModel point30 = new PointModel("7", 10.790260, 106.657891, "3");
		
		PointModel point31 = new PointModel("8", 10.784147, 106.684542, "5");
		PointModel point32 = new PointModel("9", 10.780016, 106.677461, "5");
		PointModel point33 = new PointModel("9", 10.780016, 106.677461, "5");
		PointModel point34 = new PointModel("10", 10.792073, 106.686430, "5");
		PointModel point35 = new PointModel("11", 10.782714, 106.682396, "7");
		PointModel point36 = new PointModel("23", 10.787911, 106.684499, "7");
		PointModel point37 = new PointModel("12", 10.797158, 106.692470, "7");
		PointModel point38 = new PointModel("13", 10.787056, 106.678705, "7");
		PointModel point39 = new PointModel("14", 10.795419, 106.675851, "7");
		PointModel point40 = new PointModel("15", 10.794207, 106.677815, "2");
		PointModel point41 = new PointModel("16", 10.792603, 106.680400, "2");
		PointModel point42 = new PointModel("17", 10.791212, 106.682181, "3");
		PointModel point43 = new PointModel("18", 10.796956, 106.690550, "3");
		PointModel point44 = new PointModel("19", 10.788532, 106.688104, "3");
		PointModel point45 = new PointModel("20", 10.799492, 106.693597, "5");
		PointModel point46 = new PointModel("21", 10.797047, 106.693769, "5");
		PointModel point47 = new PointModel("22", 10.784848, 106.689187, "7");
		/////////////////////////////////0117
		PointModel point48 = new PointModel("1", 10.802106, 106.642699, "2");
		PointModel point49 = new PointModel("2", 10.800335, 106.639009, "2");
		PointModel point50 = new PointModel("3", 10.794939, 106.649137, "2");
		PointModel point51 = new PointModel("4", 10.806827, 106.634803, "2");
		PointModel point52 = new PointModel("5", 10.798438, 106.659179, "3");
		
//		ImageModel image1 = new ImageModel("1", "sdcard/Pictures/DiaryTravel/IMG_20140103_152754_983541656.jpg", "1");
//		ImageModel image2 = new ImageModel("2", "sdcard/Pictures/DiaryTravel/IMG_20140103_152754_983541656.jpg", "2");
//		ImageModel image3 = new ImageModel("3", "sdcard/Pictures/DiaryTravel/IMG_20140103_152754_983541656.jpg", "3");
		
		db.addTravel(travel1);
		db.addTravel(travel2);
		db.addTravel(travel3);
		db.addTravel(travel4);
		db.addTravel(travel5);
		db.addTravel(travel6);
		db.addTravel(travel7);
		db.addTravel(travel8);
		db.addTravel(travel9);
		db.addTravel(travel10);
		db.addTravel(travel12);
		db.addTravel(travel13);
		db.addTravel(travel14);
		db.addTravel(travel15);
		db.addTravel(travel16);
		db.addTravel(travel17);
		db.addTravel(travel18);
		db.addTravel(travel19);
		
		db.addTour(tour1);
		db.addTour(tour2);
		db.addTour(tour3);
		db.addTour(tour4);
		db.addTour(tour5);
		db.addTour(tour6);
		db.addTour(tour7);
		db.addTour(tour8);
		
		db.addPoint(point1);
		db.addPoint(point2);
		db.addPoint(point3);
		db.addPoint(point4);
		db.addPoint(point5);
		db.addPoint(point6);
		db.addPoint(point7);
		db.addPoint(point8);
		db.addPoint(point9);
		db.addPoint(point10);
		db.addPoint(point11);
		db.addPoint(point12);
		db.addPoint(point13);
		db.addPoint(point14);
		db.addPoint(point15);
		db.addPoint(point16);
		db.addPoint(point17);
		db.addPoint(point18);
		db.addPoint(point19);
		db.addPoint(point20);
		db.addPoint(point21);
		db.addPoint(point22);
		db.addPoint(point23);
		db.addPoint(point24);
		db.addPoint(point25);
		db.addPoint(point26);
		db.addPoint(point27);
		db.addPoint(point28);
		db.addPoint(point29);
		db.addPoint(point30);
		db.addPoint(point31);
		db.addPoint(point32);
		db.addPoint(point33);
		db.addPoint(point34);
		db.addPoint(point35);
		db.addPoint(point36);
		db.addPoint(point37);
		db.addPoint(point38);
		db.addPoint(point39);
		db.addPoint(point40);
		db.addPoint(point41);
		db.addPoint(point42);
		db.addPoint(point43);
		db.addPoint(point44);
		db.addPoint(point45);
		db.addPoint(point46);
		db.addPoint(point47);
		db.addPoint(point48);
		db.addPoint(point49);
		db.addPoint(point50);
		db.addPoint(point51);
		db.addPoint(point52);
		
//		String id = "";
//		id = db.addImage(image1);
//		id = db.addImage(image2);
//		id = db.addImage(image3);
	}
}
